package com.inspur.edp.cef.designtime.api.exceptions;

import io.iec.edp.caf.commons.exception.CAFRuntimeException;
import io.iec.edp.caf.commons.exception.ExceptionLevel;

/**
 * CEF异常
 *
 * @deprecated 已废弃,各个模块应自行实现
 */
@Deprecated
public class CefException extends CAFRuntimeException {
    public static final String serviceUnitCode = "pfcommon";

    public CefException(String resourceFile,
                        String exceptionCode, String[] messageParams, Exception innerException) {
        super(serviceUnitCode, resourceFile, exceptionCode, messageParams, innerException);
    }

    public CefException(String resourceFile,
                        String exceptionCode, String[] messageParams, Exception innerException,
                        ExceptionLevel level) {
        super(serviceUnitCode, resourceFile, exceptionCode, messageParams, innerException, level);
    }

    public CefException(String resourceFile,
                        String exceptionCode, String[] messageParams, Exception innerException,
                        ExceptionLevel level, boolean bizException) {
        super(serviceUnitCode, resourceFile, exceptionCode, messageParams, innerException, level,
                bizException);
    }

    public CefException(String exceptionCode, String message,
                        Exception innerException) {
        super(serviceUnitCode, exceptionCode, message, innerException);
    }

    public CefException(String exceptionCode, String message,
                        Exception innerException, ExceptionLevel level) {
        super(serviceUnitCode, exceptionCode, message, innerException, level);
    }

    public CefException(String exceptionCode, String message,
                        Exception innerException, ExceptionLevel level, boolean bizException) {
        super(serviceUnitCode, exceptionCode, message, innerException, level, bizException);
    }

}
